function initSentimentRight(data, num, parent) {
  var el = ''
  for (key in data) {
    var item = data[key]
    var temp = [
      '                <li>',
      '                    <table>',
      '                        <tr>',
      '                            <td  ><div class="need-text-over-flow" style="width:64px">' +
        item.name +
        '</div></td>',
      '                            <td ><div style="width: 83px" class="sentimentright-city need-text-overflow" title="' +
        item.province +
        item.city +
        '"><span>' +
        item.province +
        item.city +
        '</span></div></td>',
      '                            <td ><div style="width:192px" class="sentimentright-city need-text-overflow" title="' +
        item.title +
        '"><span>' +
        item.title +
        '</span></div></td>',
      '                            <td ><div style="width:80px"> <button  class="sentimentright-consult">我要咨询</button></div></td>',
      '                        </tr>',
      '                    </table>',
      '                </li>'
    ].join('')
    el += temp
  }
  parent.append(el)
  // MultiTextOverflow($('.sentimentright-city'))
  $('.sentimentright-consult').click(function() {
    go('./merchantsJoin.html?consult=true')
  })
  $('.sentiment-right ul li').hover(
    function() {
      $(this).css('color', '#E1961A')
      $(this)
        .find('button')
        .css({
          color: '#ffffff',
          background: '#E1961A',
          border: 'solid #E1961A 1px'
        })
    },
    function() {
      $(this).css('color', '#333333')
      $(this)
        .find('button')
        .css({
          color: '#eb3700',
          background: '#fff',
          border: 'solid #e5e5e5 1px'
        })
    }
  )
}
